-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate pallet safe mode to umbrella crate #6905
base: master
Are you sure you want to change the base?
Migrate pallet safe mode to umbrella crate #6905
Conversation
…github.com/Krayt78/polkadot-sdk into migrate-pallet-safe-mode-to-umbrella-crate
BuildStorage, | ||
use frame::{ | ||
testing_prelude::*, | ||
traits::{Everything, IdentityLookup, InsideBoth, InstanceFilter, IsInVec}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, move to the umbrella crate everything that's used across several pallets (like IdentityLookup
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we bring the traits to their respective prelude (for example test specific ones go into the test prelude) or do we stuff everything inside the basic prelude ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test-specific traits should belong only to the testing prelude
Part of #6504